package JdbcTest.Homework.books.pojo;

public class Books {
    private int bId;
    private String bName;
    private int bCount;
    private String detail;

    public Books() {
    }

    public Books(int bId, String bName, int bCount, String detail) {
        this.bId = bId;
        this.bName = bName;
        this.bCount = bCount;
        this.detail = detail;
    }

    public int getbId() {
        return bId;
    }

    public void setbId(int bId) {
        this.bId = bId;
    }

    public String getbName() {
        return bName;
    }

    public void setbName(String bName) {
        this.bName = bName;
    }

    public int getbCount() {
        return bCount;
    }

    public void setbCount(int bCount) {
        this.bCount = bCount;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    @Override
    public String toString() {
        return "[书名："+this.bName+" 数量："+this.bCount+" 描述："+this.detail+"]";
    }
}
